// 服务管理相关API

import { httpGet, httpPost, httpPut } from "@/utils/http";

// 获取 服务管理数据
export const searchServicesApi = (data?: object) => httpPost('/services/search', data);

// 获取 一个服务详情
export const getServicesDetailApi = (data: object) => httpGet('/services/detail', data);

// 修改 服务记录
export const updateServiceApi = (data: object) => httpPut('/services/update', data);

// 添加 服务数据
export const addServiceApi = (data: object) => httpPost('/services/add', data);